package com.wm.blog_web;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;

@SpringBootApplication(scanBasePackages = {"com.wm.blog_web","com.wm.blog_config.config"})
@MapperScan("com.wm.blog_web.mapper")
@EnableFeignClients("com.wm.blog_web.feign")
@EnableDiscoveryClient //consul
public class BlogWebApplication {

    public static void main(String[] args) {
        SpringApplication.run(BlogWebApplication.class, args);
    }

}
